let a = 1;
let b = 2;
console.log(1)
console.log(2)
//添加宏任务队列中
setTimeout(()=>console.log('3'))
//添加到微任务队列中
Promise.resolve().then(()=>console.log('4'));
console.log(5)